/*
 * Copyright (c) 2008, Yifu Huang
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *     * Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer in the
 *       documentation and/or other materials provided with the distribution.
 *     * Neither the name of SleekIce nor the
 *       names of its contributors may be used to endorse or promote products
 *       derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

package com.sleekice.util;

import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;

public class GL {

    /* scratch graphics to get font metrics beforehand */
    public static final BufferedImage img =
        new BufferedImage(1, 1, BufferedImage.OPAQUE);
    public static final Graphics2D g = (Graphics2D) img.getGraphics();

    /* strokes */
    public static BasicStroke stroke2 = new BasicStroke(2);
    public static BasicStroke stroke4 = new BasicStroke(4);
    /* colors */
    public static final Color teal = new Color(0, 128, 128);
    public static final Color pink = new Color(255, 192, 203);
    public static final Color darkRed = new Color(139, 0, 0);
    public static final Color lightGreen = new Color(144, 238, 144);
    public static final Color darkGreen = new Color(0, 100, 0);
    public static final Color blueCornflower =
        new Color(100, 149, 237);
    public static final Color blueDark = new Color(0, 0, 139);
    public static final Color blueDodger = new Color(30, 144, 255);
    public static final Color blueLight = new Color(173, 216, 230);
    public static final Color blueMidnight = new Color(25, 25, 112);
    public static final Color bluePowder = new Color(176, 224, 230);
    public static final Color blueRoyal = new Color(65, 105, 225);
    public static final Color blueSky = new Color(135, 206, 235);
    public static final Color blueSteel = new Color(70, 130, 180);
    public static final Color lavender = new Color(230, 230, 250);
}